Skip to content

Add Nuget config trageting devOps feed#497

Open
chidozieononiwu wants to merge 1 commit into
mainfrom
net-iso-nuget
Open

Add Nuget config trageting devOps feed#497
chidozieononiwu wants to merge 1 commit into
mainfrom
net-iso-nuget

Conversation

@chidozieononiwu

Copy link
Copy Markdown
Member

This pull request introduces changes to standardize and secure the use of NuGet package sources for .NET builds and tests. The main improvements are the enforcement of a single, approved package source and the explicit authentication step for Azure DevOps pipelines. These changes help ensure that dependencies are only pulled from trusted locations.

NuGet package source enforcement:

  • Added a NuGet.Config file that restricts package sources to the azure-sdk-for-net feed, preventing the use of unauthorized feeds and ensuring all dependencies are resolved from a controlled source.
  • Updated dn.clean and dn.restore scripts in package.json to use the new NuGet.config file, enforcing the package source restrictions during restore and clean operations.

Pipeline authentication improvements:

  • Added a NuGetAuthenticate@1 task in eng/test-steps.yml to ensure authenticated access to the Azure DevOps package feed during CI/CD builds and tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant